package ch02;

class Dog{
	String name;
	String says;
	public Dog(String name, String says){
		this.name = name;
		this.says = says;
	}
	
	public Dog(){
		
	}
}

public class Exercise5 {
	public static void main(String [] args){
		Dog d1 = new Dog("spot","Ruff!");
		Dog d2 = new Dog("scruffy","Wurf");
		System.out.println(d1.equals(d2));
		
	}
	}


